<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\Engine\BaseModel;
use Illuminate\Database\Eloquent\Model;

/**
 * Class Type
 *
 * @property int $id
 * @property string|null $name
 *
 * @package App\Models
 */
class Type extends BaseModel
{
	protected $table = 'types';
	public $timestamps = false;

	protected $fillable = [
		'name'
	];

    public $rule=[
        'name'=>'required',
    ];
    public $ruleMessage=[
        'name.required'=>"名称不能为空",
    ];
}
